<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-3.0.0.js" ></script>
		<style>
			.guolv{}
		</style>
	</head>
	<body>
		<div>
			<ol>
				<li>筛</li>
				<li class="guolv">哦</li>
				<li>哦</li>
				<li>哦</li>
				<li class="guolv">的的</li>
				<li>的</li>
				<li>的</li>
			</ol>
		</div>
		<script>
			$(document).ready(function(){
				$("li").first().css("background","#98FB98")
				$("li").last().css("background","#800080")
				$("li").eq(5).css("background","#FF1493")
				$("li").filter(".guolv").css("background","#00BFFF")
//				$("li").not(".guolv").css("background","darkgreen")
			})
		</script>
	</body>
</html>
